﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Web;
using WCFPointOfSaleService.Entities;
using WCFPointOfSaleService.Entities.Parameters;

namespace WCFPointOfSaleService
{
    [ServiceContract]
    public interface IStockService
    {
        [OperationContract]
        [WebInvoke(UriTemplate = "/SetSyncTrue",
            RequestFormat = WebMessageFormat.Json,
            ResponseFormat = WebMessageFormat.Json, Method = "POST")]
        ObjectResult<object> SetSyncTrue(ParamStockToSyncTrue param);
    }
}